#ifndef USERNAME_H
#define USERNAME_H

#include <QString>
#include<iostream>
using namespace std;

enum gender{femmina=0,maschio=1};

class Username{
private:
    QString username;
    QString pwd;
    QString nome;
    QString cognome;
    gender sesso;

public:
    Username(QString,QString,QString,QString,int);  //costruttore da board, quindi da database
    ~Username(){cout<<"~Username"<<endl;}
    Username(const Username&);  //ridefinizione costruttore di copia
    QString getUsn() const;
    QString getPwd() const;
    QString getN() const;
    QString getC() const;
    int getG() const;
};

#endif // USERNAME_H
